<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h2{
            font-family: "Microsoft Yahei";
            font-size: 20px;
            font-weight: 400;
            font-style: normal;

        }
        body{
            font-size: 30px;
            /* 开发中提倡用数字 */
            font-weight: 700;
            font-style: italic;
        }
        .span{
            /* 顺序不能改 */
            /* font: font-style  font-weight font-size/line-height font-family  */
         font:italic 700 16px/20px "Microsoft Yahei";
        }
    </style>
</head>
<body>
    <h2>静夜思</h2>
    <p>1</p>
    <p>2</p>
    <p>3</p>
    <p>4</p>
    <span>复合简写</span>
</body>
</html>